#ifndef __FILETREE__H
#define __FILETREE__H

#include "common.h"

typedef struct tree
{
    string	name;
	int	iNode;
	int	pNode;
	int	type;
}tree;

class Tree
{
public:
	Tree();
	void	_addd_(int,string);
	void	_addf_(int,string);
	void	_dele_(int,string fileName = " ");
	int	_list_(int,string*);
	int	_getd_(int,string);
	~Tree();
private:
	tree*	root;
	tree*	end;
	int	number;
};

#endif
